$("#modal").hide(function() {
  $('#stored_furnitures_form').submit();
});